package top.tenebrous.yzl.chat.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 登录成功的结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "登录的结果")
public class LoginUserDto implements Serializable {

    private static final long serialVersionUID = 112312123312312312L;

    @ApiModelProperty(value = "登录短码")
    private String token;

    @ApiModelProperty(value = "登录长码")
    private String bearer;

    @ApiModelProperty(value = "登录名")
    private String userName;

    @ApiModelProperty(value = "员工名")
    private String userNick;

    @ApiModelProperty(value = "公司类型 1-平台 2-商户")
    private Integer bizType;

    @ApiModelProperty(value = "商家编码")
    private String merchantCode;

    @ApiModelProperty(value = "档口编码")
    private String shopCode;

    @ApiModelProperty(value = "商家名称")
    private String merchantName;

    @ApiModelProperty(value = "档口名称")
    private String shopName;

    @ApiModelProperty(value = "头像")
    private String imageUrl;

    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "货币符号")
    private String currencySymbol;

    @ApiModelProperty(value = "语言")
    private String language;
}
